package com.ecoolex.discount.sales.core;

import com.ecoolex.discount.sales.Constant;

public interface CoreConstant extends Constant {

	String PROJECT_CORE_NAME = "discount-sales-core";

	String CORE_NAME = "core";

	/**
	 * 由我付接口地址
	 */
	String YOU_WORLD_GIFTCARD_ENDPOINT = "YOU_WORLD_GIFTCARD_ENDPOINT";

	/**
	 * 由我付接口用户名
	 */
	String YOU_WORLD_GIFTCARD_CHANNEL_USERNAME = "YOU_WORLD_GIFTCARD_CHANNEL_%s_USERNAME";

	/**
	 * 由我付接口密码
	 */
	String YOU_WORLD_GIFTCARD_CHANNEL_PASSWORD = "YOU_WORLD_GIFTCARD_CHANNEL_%s_PASSWORD";

	/**
	 * 由我付{@code}密钥
	 */
	String YOU_WORLD_GIFTCARD_CHANNEL_SECERT = "YOU_WORLD_GIFTCARD_CHANNEL_%s_SECERT";

	/**
	 * 由我付{@project}回调地址;etc:外汇项目、全球购项目
	 */
	String YOU_WORLD_GIFTCARD_CHANNEL_ENDPOINT = "YOU_WORLD_GIFTCARD_CHANNEL_%s_ENDPOINT";

	/**
	 * 携程全球购 aid
	 */
	String YOU_WORLD_GIFTCARD_CHANNEL_AID = "YOU_WORLD_GIFTCARD_CHANNEL_%s_AID";

	/**
	 * 携程全球购 sid
	 */
	String YOU_WORLD_GIFTCARD_CHANNEL_SID = "YOU_WORLD_GIFTCARD_CHANNEL_%s_SID";

	/**
	 * 携程全球购 userkey
	 */
	String YOU_WORLD_GIFTCARD_CHANNEL_USERKEY = "YOU_WORLD_GIFTCARD_CHANNEL_%s_USERKEY";

	/**
	 * 携程全球购 icode
	 */
	String YOU_WORLD_GIFTCARD_CHANNEL_ICODE = "YOU_WORLD_GIFTCARD_CHANNEL_%s_ICODE";

	/**
	 * 携程全球购 ORGAIN
	 */
	String YOU_WORLD_GIFTCARD_CHANNEL_GLOBAL_BUY_ORGAIN = "aid=%s&sid=%s&userkey=%s&icode=%s&uuid=%s";

	/**
	 * 由我付外汇项目
	 */
	String YOU_WORLD_GIFTCARD_CHANNEL_FOREIGN_EXCHANGE = "CTRIP";

	/**
	 * 由我付全球购项目
	 */
	String YOU_WORLD_GIFTCARD_CHANNEL_GLOBAL_BUY = "CTRIP_GB";

}
